﻿using System.Collections.Generic;
using Domain.Entities;

namespace BusinessLogic.Interfaces
{
    public interface IRoleRepository
    {
        IEnumerable<Role> GetRoles();
        Role GetRoleById(int id);
        Role GetRoleByName(string roleName);
        void CreateRole(Role  role);
        void CreateRole(string role);
        void SaveRole(Role role);
        void DeleteRoleById(int id);
    }
}
